/**
 * 
 */
package com.mycompany.client.widgets;

import com.mycompany.shared.EnvConstants;
import com.smartgwt.client.widgets.form.fields.TextItem;

/**
 * @author coral.ma
 *
 */
public class CoralTextItem extends TextItem {

//    public CoralTextItem(){
//        setType("TextItem");
//    }

//    public CoralTextItem(String name) {
//        setName(name);
//        setType("TextItem");
//    }

    public CoralTextItem(String name, String title) {
        setName(name);
		setTitle(title);
        setType("TextItem");
        setWidth(EnvConstants.CORAL_ITEM_WIDTH);
    }
}
